<HTML><HEAD><TITLE>peer(?Peer)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">External Interface</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>peer(?Peer)</H1>
Checks or enumerates peer names
<DL>
<DT><EM>Peer</EM></DT>
<DD>Peer name (atom or variable).
</DD>
</DL>
<H2>Description</H2>
   <P>
   If Peer is a variable, this predicate enumerates the current peers
   (remote and embedded). If Peer is an atom, it checks if that is the name
   of a current peer.
   
<H3>Modes and Determinism</H3><UL>
<LI>peer(-) is nondet
<LI>peer(+) is semidet
</UL>
<H3>Fail Conditions</H3>
Peer is not a current peer.
<H3>Exceptions</H3>
<DL>
<DT><EM>(5) type error </EM>
<DD>Peer is neither an atom or a variable.
</DL>
<H2>See Also</H2>
<A HREF="../../kernel/externals/peer_get_property-3.html">peer_get_property / 3</A>
</BODY></HTML>
